package com.zx.mes.upms.hyl.biz;

import org.springframework.stereotype.Service;
import com.zx.mes.upms.hyl.entity.Role;
import com.zx.mes.upms.hyl.mapper.RoleMapper;
import com.zx.mes.hyl.common.biz.BaseBiz;

/**
 * 
 *
 * @author hyl
 * @email 632105841@qq.com
 * @date 2018-04-08 15:10:44
 */
@Service
public class RoleBiz extends BaseBiz<RoleMapper,Role> {

    public Role getResourceByRoleId(String id) {
        return mapper.getResourceByRoleId(id);
    }

    public Role getMenuByRoleId(String id){
        return mapper.getMenuByRoleId(id);
    }
}